﻿using UnityEngine;
using System.Collections;
using System;

namespace BehaviorSystem
{
    /// <summary>
    /// 行为轮询器
    /// </summary>
    public class BehaviourTicker : MonoBehaviour
    {
        public Action TickEvent;

        void Update()
        {
            if (TickEvent!=null)
            {
                TickEvent();
            }
        }
    }
}